package com.yh.workbill.ui.companyInfo;

import androidx.lifecycle.MutableLiveData;
import androidx.lifecycle.ViewModel;

public class AddCompanyInfoViewModel extends ViewModel {
    private MutableLiveData<String> city;

    public MutableLiveData<String> getCity() {
        if (city == null) {
            city = new MutableLiveData<>();
            city.postValue("请选择");
        }
        return city;
    }

    public void setCity(String city) {
        this.city.postValue(city);
    }
}
